package org.bookie.core.services.impl;

import javax.mail.Message;
import javax.mail.MessagingException;

import org.bookie.core.services.ITransport;

/**
 * This implementation of the interface {@link ITransport} encapsulates the  
 * {@link javax.mail.Transport} to provide more testability.
 * 
 * @author drobiazk
 */
public class TransportImpl implements ITransport {
	/**
	 * Send a message.
	 * @param message the message to send
	 * @see javax.mail.Transport#send(Message)
	 */
	public void send(Message message) throws MessagingException {
		javax.mail.Transport.send(message);
	}

}
